export default ($axios) => {
  const baseURL = '/api/home/'
  return {
    // 获取导航
    async channel () {
      return await $axios({
        url: baseURL + 'channel/?parent_id=1',
        method: 'GET'
      })
    }
  }
}
